docs: Fix GTK links and locations
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 6 Feb 2019 09:39:27 +0000 (10:39 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 6 Feb 2019 09:39:27 +0000 (10:39 +0100)
CONTRIBUTING.md
gdk/gdkkeysyms-update.pl
gdk/gdkkeysyms.h
gdk/wayland/gdkkeys-wayland.c
gtk/gtkapplication.c
gtk/gtkapplicationwindow.c
gtk/gtkbuilder.c
gtk/gtkfilechooserbutton.c
gtk/gtksearchbar.c
gtk/gtkshortcutswindow.c
gtk/imwaylandgtk.c

index 661c126ce29371bae30fd706b4c172b4bad3e3aa..4743e81f07a298cfeeec6caeeda0e479d0a2cf24 100644 (file)
@@ -21,7 +21,7 @@ many things that we value:
 Please, do not use the issue tracker for support questions. If you have
 questions on how to use GTK effectively, you can use:
 
- - the `#gtk+` IRC channel on irc.gnome.org
+ - the `#gtk` IRC channel on irc.gnome.org
  - the [gtk](https://mail.gnome.org/mailman/listinfo/gtk-list) mailing list,
    for general questions on GTK
  - the [gtk-app-devel](https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list)
@@ -245,7 +245,7 @@ people committing to GTK to follow a few rules:
    better way to do things. If you are making changes to GTK, you should
    be subscribed to the [gtk-devel](https://mail.gnome.org/mailman/listinfo/gtk-devel-list)
    mailing list; this is a good place to ask about intended changes.
-   The `#gtk+` IRC channel on irc.gnome.org is also a good place to find GTK
+   The `#gtk` IRC channel on irc.gnome.org is also a good place to find GTK
    developers to discuss changes, but if you live outside of the EU/US time
    zones, an email to the gtk-devel mailing list is the most certain and
    preferred method.
index 7bf9314fdf04aae136b2330f78fd9fc17790f187..25d527e6cf765e820cf97840e8408e5cfd75f53c 100755 (executable)
@@ -1,15 +1,15 @@
 #!/usr/bin/env perl
 
-# Updates http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h from upstream (X.org 7.x),
-# from http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
+# Updates https://gitlab.gnome.org/GNOME/gtk/tree/master/gdk/gdkkeysyms.h from upstream (X.org 7.x),
+# from https://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
 # 
 # Author  : Simos Xenitellis <simos at gnome dot org>.
 # Author  : Bastien Nocera <hadess@hadess.net>
 # Version : 1.2
 #
-# Input   : http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
-# Input   : http://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h
-# Output  : http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h
+# Input   : https://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
+# Input   : https://cgit.freedesktop.org/xorg/proto/x11proto/plain/XF86keysym.h
+# Output  : https://gitlab.gnome.org/GNOME/gtk/tree/master/gdk/gdkkeysyms.h
 # 
 # Notes   : It downloads keysymdef.h from the Internet, if not found locally,
 # Notes   : and creates an updated gdkkeysyms.h
@@ -53,7 +53,7 @@ else
 # Source: http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
 die "Could not open file keysymdef.h: $!\n" unless open(IN_KEYSYMDEF, "<:utf8", "keysymdef.h");
 
-# Output: gtk+/gdk/gdkkeysyms.h
+# Output: gtk/gdk/gdkkeysyms.h
 die "Could not open file gdkkeysyms.h: $!\n" unless open(OUT_GDKKEYSYMS, ">:utf8", "gdkkeysyms.h");
 
 my $LICENSE_HEADER= <<EOF;
@@ -82,7 +82,7 @@ print OUT_GDKKEYSYMS $LICENSE_HEADER;
 print OUT_GDKKEYSYMS<<EOF;
 
 /*
- * File auto-generated from script http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms-update.pl
+ * File auto-generated from script https://gitlab.gnome.org/GNOME/gtk/tree/master/gdk/gdkkeysyms-update.pl
  * using the input file
  * http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
  * and
index d2d6d07d7c2aa267e65d67beaa0675f76b68d185..88fd1289f7c94cac4883e0a8162b9b98672dab19 100644 (file)
@@ -18,7 +18,7 @@
 
 
 /*
- * File auto-generated from script http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms-update.pl
+ * File auto-generated from script https://gitlab.gnome.org/GNOME/gtk/tree/master/gdk/gdkkeysyms-update.pl
  * using the input file
  * http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
  * and
index 9a6809d23bd2682a22d07307fc1b2778776404ed..b1992057a02074d5544a33ac13181c399750de9e 100644 (file)
@@ -304,9 +304,9 @@ get_gdk_modifiers (struct xkb_keymap *xkb_keymap,
     state |= GDK_SUPER_MASK;
   if (mods & (1 << xkb_keymap_mod_get_index (xkb_keymap, "Hyper")))
     state |= GDK_HYPER_MASK;
-  /* Gtk+ treats MOD1 as a synonym for Alt, and does not expect it to
+  /* GTK treats MOD1 as a synonym for Alt, and does not expect it to
    * be mapped around, so we should avoid adding GDK_META_MASK if MOD1
-   * is already included to avoid confusing gtk+ and applications that
+   * is already included to avoid confusing GTK and applications that
    * rely on that behavior.
    */
   if (mods & (1 << xkb_keymap_mod_get_index (xkb_keymap, "Meta")) &&
index c4646dbd88ba5737ed28ea580021f1caee4510af..0ae1de11a1246ed93cb303144e3550dd667e4398 100644 (file)
  *
  * ## A simple application ## {#gtkapplication}
  *
- * [A simple example](https://git.gnome.org/browse/gtk+/tree/examples/bp/bloatpad.c)
+ * [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/bp/bloatpad.c)
  *
  * GtkApplication optionally registers with a session manager
  * of the users session (if you set the #GtkApplication:register-session
index 9651aedc05a004f3b61833eb0bb18b9d769095de..3b09b97b66ef9768a785052c2be87877baf1f632 100644 (file)
  *
  * ## Handling fallback yourself
  *
- * [A simple example](https://git.gnome.org/browse/gtk+/tree/examples/sunny.c)
+ * [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/sunny.c)
  *
  * The XML format understood by #GtkBuilder for #GMenuModel consists
  * of a toplevel `<menu>` element, which contains one or more `<item>`
index 55f16c0164de1a2d7e77432926a0fddb43236c97..52244862acfa5ac18b89c31e231f3d8fc291d35d 100644 (file)
@@ -63,7 +63,7 @@
  * RELAX NG schema below. We refer to these descriptions as “GtkBuilder
  * UI definitions” or just “UI definitions” if the context is clear.
  *
- * [RELAX NG Compact Syntax](https://git.gnome.org/browse/gtk+/tree/gtk/gtkbuilder.rnc)
+ * [RELAX NG Compact Syntax](https://gitlab.gnome.org/GNOME/gtk/tree/master/gtk/gtkbuilder.rnc)
  *
  * The toplevel element is <interface>. It optionally takes a “domain”
  * attribute, which will make the builder look for translated strings
index 0a0f0a6540c74df0e95a431f8f40a78bb6e5fbbc..3d41a1f233c3fe8e7435408423c65b53fb79c977 100644 (file)
 #define ICON_SIZE              16
 #define DEFAULT_TITLE          N_("Select a File")
 #define DESKTOP_DISPLAY_NAME   N_("Desktop")
-#define FALLBACK_DISPLAY_NAME  N_("(None)") /* this string is used in gtk+/gtk/tests/filechooser.c - change it there if you change it here */
+#define FALLBACK_DISPLAY_NAME  N_("(None)") /* this string is used in gtk/gtk/tests/filechooser.c - change it there if you change it here */
 
 
 /* ********************** *
index 3e2b55566960b4423c409e3babb37b4f265e7b23..93594d15f260e737034021488b044cd1ed6c02cb 100644 (file)
@@ -78,7 +78,7 @@
  *
  * ## Creating a search bar
  *
- * [A simple example](https://git.gnome.org/browse/gtk+/tree/examples/search-bar.c)
+ * [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/search-bar.c)
  */
 
 typedef struct {
index c9b55ef523b0d5d42291bdc1624891d819409bc0..04fbe3be2d9099213a928def2bf2636926ca8c5f 100644 (file)
@@ -72,7 +72,7 @@
  * are arranged in columns, and spread across several pages if there are too
  * many to find on a single page.
  *
- * The .ui file for this example can be found [here](https://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/shortcuts-gedit.ui).
+ * The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/master/demos/gtk-demo/shortcuts-gedit.ui).
  *
  * # An example with multiple views:
  *
@@ -81,7 +81,7 @@
  * This example shows a #GtkShortcutsWindow that has been configured to show only
  * the shortcuts relevant to the "stopwatch" view.
  *
- * The .ui file for this example can be found [here](https://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/shortcuts-clocks.ui).
+ * The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/master/demos/gtk-demo/shortcuts-clocks.ui).
  *
  * # An example with multiple sections:
  *
@@ -90,7 +90,7 @@
  * This example shows a #GtkShortcutsWindow with two sections, "Editor Shortcuts"
  * and "Terminal Shortcuts".
  *
- * The .ui file for this example can be found [here](https://git.gnome.org/browse/gtk+/tree/demos/gtk-demo/shortcuts-builder.ui).
+ * The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/master/demos/gtk-demo/shortcuts-builder.ui).
  */
 
 typedef struct
index 1d5050496a253a5f55f67112c5f4f71dee9e37de..9556d5fa59fe9ffd25443e500305db5983fd221b 100644 (file)
@@ -81,7 +81,7 @@ static const GtkIMContextInfo imwayland_info =
   "waylandgtk",      /* ID */
   NC_("input method menu", "Waylandgtk"),      /* Human readable name */
   GETTEXT_PACKAGE, /* Translation domain */
-  GTK_LOCALEDIR,   /* Dir for bindtextdomain (not strictly needed for "gtk+") */
+  GTK_LOCALEDIR,   /* Dir for bindtextdomain (not strictly needed for "gtk") */
   "",              /* Languages for which this module is the default */
 };